package com.tanhua.dubbo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.domain.mongo.Report;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;

public interface ReportMapper extends BaseMapper<Report> {

    @Select("select * from tb_report where sid=#{soulid} and uid=#{userId} ")
    Report selectByuserIdOne(@Param("userId") Long userId, @Param("soulid") Long soulid);
}
